﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.ViewModels.QuestionViewModel>" %>
<%@ Import Namespace="dbPoll_Application.Helpers" %>

<asp:Content ID="Content3" ContentPlaceHolderID="TitleContent" runat="server">
	dbPoll - Responding
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">    var webURL = true;</script>
<script type="text/javascript" src="../../Scripts/PageControl.js"></script>
<script type="text/javascript" src="../../Scripts/MessageListener.js"></script>

    <div class="pageHeadingContainer"><h2 class="pageHeading">Responding</h2></div>
    <div id="contentContainer">
        <p>Respond > <%= Model.pollName %></p>
        <div class="respondTitle"><div class="respondTitlePadding">Waiting...</div></div>
        <div id="respondQuestionContainer">
            <div id="respondQuestionContainerPadding">
            <div id="respondInstructions"><p>Please wait for the poll to start.</p>
    <img src="../../Resources/possiblewait.gif" />
    <input type="hidden" id="pollID" value="<%= Model.pollID %>" /></div>
            <div id="respondOptionsContainer">
            </div>
        </div>
        </div>
        <div class="respondTitle"><div class="respondTitlePadding">Messages</div></div>
        <div id="respondMessageContainer">
        </div>
    </div>

</asp:Content>
